#ifndef __TIMER6_H_
#define __TIMER6_H_

#include "MyApplication.h"

//定义定时时间枚举类型
typedef enum
{
    TIMER_10ms     = (uint16_t)2,
    TIMER_50ms     = (uint16_t)10,
    TIMER_100ms    = (uint16_t)20,
    TIMER_200ms    = (uint16_t)40,
    TIMER_500ms    = (uint16_t)100,
    TIMER_1s       = (uint16_t)200,
    TIMER_2s       = (uint16_t)400,
    TIMER_3s       = (uint16_t)600,
    TIMER_5s       = (uint16_t)1000,
    TIMER_10s      = (uint16_t)2000,
    TIMER_3min     = (uint16_t)36000,
}TIMER_Value_t;

//定义结构体类型
typedef struct
{
    uint16_t volatile usMCU_Run_Timer;        //系统运行定时器
    uint16_t volatile SHT30_Measure_Timeout;  //SHT30温湿度传感器定时器
    uint16_t volatile usDelay_Timer;          //延时定时器

    void (*Timer6_Start_IT)(void);
}Timer6_t;

/* extern variables-----------------------------------------------------------*/
extern Timer6_t Timer6;
/* extern function prototypes-------------------------------------------------*/ 

#endif
/********************************************************
  End Of File
********************************************************/
